#ifndef SYMTAB_HEADER
#define SYMTAB_HEADER

struct object_chain
{
	char *object_name;
	struct object_chain *next;
};

struct symbol_table
{
	char *variable_name;
	struct object_chain *ptr;
	struct symbol_table *next;
};

struct symbol_table * make_node();
void add_node(struct symbol_table *node);
int add_object_name(struct symbol_table *node, char *oname);
int add_variable_name(struct symbol_table *node, char *vname);
struct symbol_table * check_variable_name(char *vname);
struct symbol_table * return_last_node();
void replicate_object_chain(struct object_chain *ptr, struct symbol_table *node);
void display_table();
void free_table();

#endif


